export interface Ys7CamerasPresetsTableColumns {    
    id:number;  //    
    deviceSerial:string;  // 序列号    
    indexName:string;  // 预置点名称    
    index:number;  // 预置点编号    
    timeout:number;  // 预置点调用时间    
    createdAt:string;  //    
}


export interface Ys7CamerasPresetsInfoData {    
    id:number|undefined;        //    
    deviceSerial:string|undefined; // 序列号    
    indexName:string|undefined; // 预置点名称    
    index:number|undefined; // 预置点编号    
    timeout:number|undefined; // 预置点调用时间    
    createdAt:string|undefined; //    
}


export interface Ys7CamerasPresetsTableDataState {
    ids:any[];
    tableData: {
        data: Array<Ys7CamerasPresetsTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            id: number|undefined;            
            deviceSerial: string|undefined;            
            indexName: string|undefined;            
            index: number|undefined;            
            timeout: number|undefined;            
            createdAt: string|undefined;            
            dateRange: string[];
        };
    };
}


export interface Ys7CamerasPresetsEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:Ys7CamerasPresetsInfoData;
    rules: object;
}